use std::fmt::Debug;

/// 生命周期
pub fn main(){
    let s = 1;
    test(&s);
}

fn test<T: Debug +'static>(t1 :&T) {
    println!("{:?}", t1);
}